package com.wzh.loveEmail.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wzh
 * @date 2024/12/10
 * @apiNote
 */
@NoArgsConstructor
@Data
public class ApiListCommonResult extends ApiBaseResult {

    private String msg;
    @JsonProperty("tip")
    private String tip;
    @JsonProperty("newslist")
    private List<NewslistDTO> newslist;

    @NoArgsConstructor
    @Data
    public static class NewslistDTO {
        @JsonProperty("content")
        private String content;
    }
}
